Pronamic\WordPress\Pay\Extensions\MemberPress\Gateways\Gateway B

Total Complexity 81
Dependencies 15
Dependents 1
Total lines 961
Lines of code 419
Logical lines of code 190
Comment lines 378
Methods 38
Properties 3

Methods 38

Method Rating Maintainability Complexity Lines of code
__construct()
A
46 7 40
spc_payment_fields()
A
47 7 40
display_payment_form()
S
44 5 51
process_cancel_subscription()
S
50 6 29
process_suspend_subscription()
S
52 5 25
process_resume_subscription()
S
52 5 25
display_update_account_form()
S
50 4 31
process_payment()
S
56 4 17
display_options_form()
S
50 2 34
process_refund()
S
56 3 17
set_defaults()
S
50 2 29
process_create_subscription()
S
62 3 11
get_config_id()
S
65 3 10
validate_update_account_form()
S
82 1 3
display_payment_page()
S
91 1 2
enqueue_user_account_scripts()
S
91 1 2
validate_options_form()
S
82 1 3
process_update_account_form()
S
91 1 2
validate_payment_form()
S
82 1 3
get_icon()
S
80 1 3
is_test_mode()
S
82 1 3
force_ssl()
S
82 1 3
enqueue_payment_form_scripts()
S
91 1 2
record_subscription_payment()
S
91 1 2
process_signup_form()
S
91 1 2
record_payment_failure()
S
91 1 2
record_resume_subscription()
S
91 1 2
load()
S
76 1 4
record_suspend_subscription()
S
91 1 2
get_payment_method()
S
82 1 3
record_update_subscription()
S
91 1 2
process_update_subscription()
S
91 1 2
record_create_subscription()
S
91 1 2
record_trial_payment()
S
91 1 2
process_trial_payment()
S
81 1 3
record_refund()
S
91 1 2
record_payment()
S
91 1 2
record_cancel_subscription()
S
91 1 2